<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script language="javascript" type="text/javascript">
var user="${openid}";
var userId ="${userId}";
var mobile = "${mobile}";
var wxCode = "${wxCode}";
console.log(wxCode);
if(userId){
    if(wxCode=="mineInfo"){
        window.location.href="http://weixin.skystorechain.com/web/wesvn/barItem/mineinfo.html?openid="+user+"&userId="+userId+"&mobile="+mobile+"&url=mineinfo.html&v=180725&info=1";
    }else{
        window.location.href="http://weixin.skystorechain.com/web/wesvn/index.html?openid="+user+"&userId="+userId+"&mobile="+mobile+"&url=../index.html&v=180725&info=1";
    }
}else{
    if(wxCode=="mineInfo"){
        window.location.href="http://weixin.skystorechain.com/web/wesvn/barItem/login.html?openid="+user+"&userId="+userId+"&url=mineinfo.html&v=180725";
    }else{
        window.location.href="http://weixin.skystorechain.com/web/wesvn/barItem/login.html?openid="+user+"&userId="+userId+"&url=../index.html&v=180725";
    }

}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
</body>
</html>